package com.wukong.logisticsproject.mapper;

import com.wukong.logisticsproject.model.Vehicle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 车辆信息表 Mapper 接口
 * </p>
 *
 * @author wukong.com
 * @since 2020-10-08
 */
@Repository
public interface VehicleMapper extends BaseMapper<Vehicle> {

    /**
     * 添加车辆信息
     * @param vehicle
     * @return
     */
    Integer insertVehicle(Vehicle vehicle);

    Integer updateVehicleByNum(Vehicle vehicle);
}
